package cn.like.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

import javax.validation.constraints.NotNull;

/**
 * desc: 登录 dto <br>
 *
 * @author like 980650920@qq.com
 * @date 2021-07-08 19:46:22
 */
@Getter
public class LoginRequestDto {

    /**
     * 随机生成的key
     */
    @ApiModelProperty("随机生成的key")
    @NotNull
    private String key;
    /**
     * 验证码
     */
    @ApiModelProperty("验证码")
    @NotNull(message = "请输入确认验证码")
    private String captcha;

    /**
     * 账号
     */
    @ApiModelProperty("账号")
    @NotNull(message = "请输入确认账号")
    private String account;

    /**
     * 密码
     */
    @ApiModelProperty("密码")
    @NotNull(message = "请输入密码")
    private String password;

    /**
     * 确认密码
     */
    @ApiModelProperty("确认密码")
    @NotNull(message = "请输入确认密码")
    private String rePassword;
}
